﻿<%@ Page Title="" Language="C#" MasterPageFile="~/U_masterP.master" AutoEventWireup="true"
    CodeFile="faq.aspx.cs" Inherits="faq" %>

<%@ Register Src="uc_main/sideBar_right.ascx" TagName="sideBar_right" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>Vieclamgap.net | Câu hỏi thường gặp </title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="content_top">
        <%--<asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">--%>
        <div id="kep">
            <a>FAQs</a></div>
        <div id="tags">
            <p class="title_p">
                <a href="signin.aspx"></a>
            </p>
        </div>
        <%--</asp:ContentPlaceHolder>--%>
    </div>
    <div class="clear">
    </div>
    <div id="sub_content">
        <div id="content_left">
            <div id="tugioithieu" style="margin: 5px 20px; font-family: Tahoma,Arial,Sans-Serif;color:#4b4b4b">
                <asp:Repeater runat="server" ID="rptFAQSeller">
                    <ItemTemplate>
                        <a><b class="sellerQuestionTog" togvalue="<%#Container.ItemIndex %>">
                            <%#Eval("Question") %></b></a>
                        <div class="sellerAnswerTog_<%#Container.ItemIndex %>">
                            <%#Eval("Answer") %></label></div>
                      <hr />
                    </ItemTemplate>
                </asp:Repeater>
                <asp:Repeater runat="server" ID="rptFAQBuyer">
                    <ItemTemplate>
                        <a><b class="buyerQuestionTog" togvalue="<%#Container.ItemIndex %>">
                            <%#Eval("Question") %></b></a>
                        <div class="buyerAnswerTog_<%#Container.ItemIndex %>">
                            <%#Eval("Answer") %></label></div>
                      <hr />
                    </ItemTemplate>
                </asp:Repeater>
            </div>
        </div>
        <div id="content_right">
            <uc1:sideBar_right ID="sideBar_right1" runat="server" />
        </div>
    </div>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#tugioithieu div").hide();
        })
        $(".sellerQuestionTog").click(function () {
            var id = $(this).attr("togValue");
            $(".sellerAnswerTog_" + id).toggle();
        })
        $(".buyerQuestionTog").click(function () {
            var id = $(this).attr("togValue");
            $(".buyerAnswerTog_" + id).toggle();
        })
    </script>
</asp:Content>
